template(name="migrationProgress")
  if isMigrating
    .migration-progress-overlay
      .migration-progress-modal
        .migration-progress-header
          h3.migration-progress-title
            | 🔄 Board Migration in Progress
          .migration-progress-close.js-close-migration-progress
            | ❌
        
        .migration-progress-content
          .migration-progress-overall
            .migration-progress-overall-label
              | Overall Progress: {{currentStep}} of {{totalSteps}} steps
            .migration-progress-overall-bar
              .migration-progress-overall-fill(style="{{progressBarStyle}}")
            .migration-progress-overall-percentage
              | {{overallProgress}}%
          
          .migration-progress-current-step
            .migration-progress-step-label
              | Current Step: {{stepNameFormatted}}
            .migration-progress-step-bar
              .migration-progress-step-fill(style="{{stepProgressBarStyle}}")
            .migration-progress-step-percentage
              | {{stepProgress}}%
          
          .migration-progress-status
            .migration-progress-status-label
              | Status:
            .migration-progress-status-text
              | {{stepStatus}}
          
          if stepDetailsFormatted
            .migration-progress-details
              .migration-progress-details-label
                | Details:
              .migration-progress-details-text
                | {{stepDetailsFormatted}}
        
        .migration-progress-footer
          .migration-progress-note
            | Please wait while we migrate your board to the latest structure...